package com.maxd.respository.helpTask;

import com.maxd.model.HelpSendOrder;
import com.maxd.model.HelpSendOrderDetails;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.Repository;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface HelpSendOrderDetailsRepository extends Repository<HelpSendOrderDetails, Long> {

    @Query(value = "select * from help_send_order_details s where s.help_send_order_id=:helpSendOrderId ",nativeQuery = true)
    List<HelpSendOrderDetails> selectByHelpSendOrderId(@Param("helpSendOrderId") Long helpSendOrderId);


}
